package com.naizhuai.ui.entity.management;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * Depiction:申请消息实体类
 * Author:code
 * Date:2018/1/20
 */

public class RequestJoinMessageBean implements Serializable {

    //申请id
    private String replayId;
    //申请人昵称
    private String username;
    //申请人姓名
    private String truename;
    //申请信息
    @SerializedName("content")
    private String requestMessage;
    //申请的时间戳
    @SerializedName("time")
    private String requestTime;
    //申请状态
    @SerializedName("status")
    private int requestStatus;
    //申请的团队名称
    @SerializedName("departmentName")
    private String teamname;
    //个人手机号
    @SerializedName("phone")
    private String phoneNumber;

    public String getPhoneNumber() {
        return phoneNumber;
    }

    private boolean selected = false;

    public RequestJoinMessageBean() {}


    public String getReplayId() {
        return replayId;
    }

    public void setReplayId(String replayId) {
        this.replayId = replayId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getRequestMessage() {
        return requestMessage;
    }

    public void setRequestMessage(String requestMessage) {
        this.requestMessage = requestMessage;
    }

    public String getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(String requestTime) {
        this.requestTime = requestTime;
    }

    public int getRequestStatus() {
        return requestStatus;
    }

    public void setRequestStatus(int requestStatus) {
        this.requestStatus = requestStatus;
    }

    public String getTeamname() {
        return teamname;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname;
    }


    public void  setSelected(boolean selected) {
        this.selected = selected;

    }

    public boolean isSelected() {
        return selected;
    }
    public boolean toggleSelected() {
        selected = !selected;
        return selected;
    }
}
